<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="949.27">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; color: #0000ff}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; min-height: 12.0px}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #bf0000}
p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco}
span.s1 {font: 18.0px Helvetica}
span.s2 {color: #000000}
span.s3 {color: #0000bf}
span.Apple-tab-span {white-space:pre}
</style>
</head>
<body>
<p class="p1"><span class="s1"><b>WAmp<span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span></b></span><b>windowed amplitude follower</b></p>
<p class="p2"><br></p>
<p class="p1"><b>WAmp.kr(in, winSize)</b></p>
<p class="p2"><br></p>
<p class="p1">Averages and outputs the absolute value of incoming signals received between now and (now - winSize) seconds.</p>
<p class="p1"><b>in</b> - Signal input.</p>
<p class="p1"><b>winSize</b> - The window size in seconds. Not modulatable. (Default: 0.1)</p>
<p class="p2"><br></p>
<p class="p3"><span class="s2"><b>See also:</b> <a href="Analysis/Amplitude.html">Amplitude</a> <a href="TrigAvg.html">TrigAvg</a></span></p>
<p class="p2"><br></p>
<p class="p4"><br></p>
<p class="p5">// Averaging WhiteNoise, 5 seconds.</p>
<p class="p6">x = { <span class="s3">WAmp</span>.kr(<span class="s3">WhiteNoise</span>.ar(), 5).poll }.play;</p>
<p class="p6">x.free;</p>
</body>
</html>
